// 请求参数类型

// 生产计划新增参数类型
export interface ProduceplanAddType {
  planId: string;
  planName: string;
  workNumber: string;
  sourceType: string;
  productName: string;
  productId: string;
  specs: string;
  unit: string;
  planNumber: string;
  beginTime: string;
  endTime: string;
  needTime: string;
  state: string;
}

// 生产工单模糊查询参数
export interface ProduceOrderSearchType {
  workOrderName: string;
  relatedPlan: string;
  productName: string;
  status: string;
  requiredDate: string;
  plannedStartTime: string;
  plannedEndTime: string;
  actualStartTime: string;
  actualEndTime: string;
}

export interface PaginationType {
  currentPage: number,
  pageSize: number
}

// 生产工单更新状态
export interface ProduceOrderUpdateData {
  objectId: string;
  status: string
  progress?: string
}

// 生产工单获取详情
export interface ProduceOrderDetailData {
  objectId: string;
}